package com.wuda.bean;


import java.util.Date;
import java.util.List;

public class Book {
	private Integer bookId;
	private String title;
	private String author;
	private String isbn;
	private String publisher;
	private Date publishDate;
	private Integer stockQuantity;
	private String type;
	private String introduce;

	/**
	 * 评论
	 */
	private List<BookReview> reviews;

	public Integer getBookId() {
		return bookId;
	}

	public void setBookId(Integer bookId) {
		this.bookId = bookId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getIsbn() {
		return isbn;
	}

	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}

	public String getPublisher() {
		return publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}

	public Date getPublishDate() {
		return publishDate;
	}

	public void setPublishDate(Date publishDate) {
		this.publishDate = publishDate;
	}

	public Integer getStockQuantity() {
		return stockQuantity;
	}

	public void setStockQuantity(Integer stockQuantity) {
		this.stockQuantity = stockQuantity;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getIntroduce() {
		return introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}

	public List<BookReview> getReviews() {
		return reviews;
	}
	public void setReviews(List<BookReview> reviews) {
		this.reviews = reviews;
	}


	@Override
	public String toString() {
		return "Book{" +
				"bookId=" + bookId +
				", title='" + title + '\'' +
				", author='" + author + '\'' +
				", isbn='" + isbn + '\'' +
				", publisher='" + publisher + '\'' +
				", publishDate=" + publishDate +
				", stockQuantity=" + stockQuantity +
				", type='" + type + '\'' +
				", introduce='" + introduce + '\'' +
				", reviews=" + reviews +
				'}';
	}
}


